github.com/coder/websocket.limitReader.n (field)
9 uses
github.com/coder/websocket (current package)
read.go#L503: n int64
read.go#L516: lr.n = lr.limit.Load()
read.go#L521: if lr.n < 0 {
read.go#L525: if lr.n == 0 {
read.go#L531: if int64(len(p)) > lr.n {
read.go#L532: p = p[:lr.n]
read.go#L535: lr.n -= int64(n)
read.go#L536: if lr.n < 0 {
read.go#L537: lr.n = 0
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |